<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// +----------------------------------------------------------------------
// | 应用设置
// +----------------------------------------------------------------------

return [
    // 默认输出类型
    // +----------------------------------------------------------------------
    // | 分页配置
    // +----------------------------------------------------------------------
    'paginate'               => [
        'type'      => 'bootstrap',
        'var_page'  => 'page',
        'list_rows' => 20,
    ],

    'editor'    => [
        'name'  => 'layedit'    // 'layedit', 'ueditor' 提供两种方案
    ],
    'fileUpload' => [
        'size'   => 1024 * 1024 * 2,    // 文件大小限制,2M
        'ext'    => 'jpg,png,gif,jpeg', // 文件格式
    ],
];